@R04:0.4rem;
@R03:0.3rem;
@box-shadow:0 0 0.25rem rgba(0, 0, 0, 0.2);

.modecard{
    width: 100%;
    height: 3rem;
    box-shadow: @box-shadow;
    border-radius: @R04;
    padding-right: 0.6rem;
    position: relative;
    margin-bottom: 0.5rem;
    margin-right: 1rem;
    float: left;
    p{
        position: absolute;
        margin-left: 3.5rem;
    }
    .friendlogo{
        height: 2.6rem;
        width: 2.6rem;
        border-radius: @R03;
        margin: 0.2rem;
    }
    p.friendID{
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.04rem;
        top: 0.35rem;
    }
    p.friendslogan{
        font-size: 0.7rem;
        letter-spacing: 0.02rem;
        bottom: 0.35rem;
    }
    .friendBtn{
        width: 3.5rem;
        height: 100%;
        float: right;
        padding-top: 0.6rem;
        a{
            color: #fff !important;
            height: 1.8rem;
            display: inline-block;
            border-radius: @R03;
            width: 100%;
            text-align: center;
            line-height: 1.8rem;
            opacity: 0.7;
            font-size: 0.8rem;
        }
        a:hover{
            opacity: 1;
        }
    }
}